package cn.xianshu.pet.mapper;

import cn.xianshu.basic.mapper.BasicMapper;
import cn.xianshu.basic.query.BasicQuery;
import cn.xianshu.pet.domain.SearchMasterMsg;
import cn.xianshu.pet.query.SearchMasterMsgQuery;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public interface SearchMasterMsgMapper extends BasicMapper<SearchMasterMsg> {

    /**
     * 改变SearchMasterMsg状态
     * @param search_master_msg_id
     */
    void updateStateId(Long search_master_msg_id);

    List<SearchMasterMsg> queryData(SearchMasterMsgQuery query);
}
